package com.ysd.lis.entity.eq;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 * 设备管理-设备类型
 * </p>
 *
 * @author prs
 * @since 2024-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EQ_REPAIR_RECORD")
public class EqRepairRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 维修单Id
     */
    @TableField("REPAIR_ID")
    private String repairId;
    /**
     * 维修单号
     */
    @TableField("REPAIR_NO")
    private String repairNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    private Timestamp operateDate;

    /**
     * 维修人id
     */
    @TableField("OPERATOR_ID")
    private String operatorId;

    /**
     * 维修人
     */
    @TableField("OPERATOR")
    private String operator;
    /**
     * 维修人
     */
    @TableField("OPERATE")
    private String operate;
    /**
     * 维修人
     */
    @TableField("OPERATE_RESULT")
    private String operateResult;

    @TableField("PLAN_ID")
    private String planId;

    /**
     * 序号
     */
    @TableField("SEQ")
    private Integer seq;

}
